package com.ms.p2p.entity;

import java.util.HashMap;

/**
 * Created by chensk on 2018/1/16.
 */
public class RetMap {


    public static HashMap Error(String message){
        HashMap map = new HashMap();
        map.put("status",0);
        map.put("message",message);
        return  map;
    }

    public static HashMap Success(String message){
        HashMap map = new HashMap();
        map.put("status",1);
        map.put("message",message);
        return map;
    }

    public static HashMap Wait(String message){
        HashMap map = new HashMap();
        map.put("status",2);
        map.put("message",message);
        return map;
    }

}
